package interfazgrafikoak;

import java.awt.*;
import javax.swing.*;

public class Markoa extends JFrame {


	private static final long serialVersionUID = 1L;
	private JPanel jContentPane = null;

	public Markoa() {
		super("Panela duen Frame baten adibidea");
		initialize();
	}

	private void initialize() {
		this.setSize(300, 200);
		this.setContentPane(getJContentPane());
		// this.setTitle("JFrame");
	}

	private JPanel getJContentPane() {
		if (jContentPane == null) {
			jContentPane = new JPanel();
			jContentPane.setLayout(new BorderLayout());
		}
		return jContentPane;
	}


	public static void main(String[] args){
			Markoa thisClass = new Markoa();
			thisClass.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
			thisClass.setVisible(true);
	}

}
